namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// wcs_warehouse_crn_material
    /// </summary>
    public DbSet<POWcsWarehouseCrnMaterial> WcsWarehouseCrnMaterials { get; set; }
}

/// <summary>
/// wcs_warehouse_crn_material
/// 表[wcs_warehouse_crn_material]
/// </summary>
[Table("wcs_warehouse_crn_material")]
public class POWcsWarehouseCrnMaterial
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[wcs_warehouse_crn_material.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 库区id
    /// [wcs_warehouse_crn_material.warehouse_id)]
    /// </summary>
    [Column("warehouse_id")]
    public long? WarehouseId { get; set; }
    /// <summary>
    /// 堆垛机id
    /// [wcs_warehouse_crn_material.crn_id)]
    /// </summary>
    [Column("crn_id")]
    public long? CrnId { get; set; }
    /// <summary>
    /// 物料id
    /// [wcs_warehouse_crn_material.material_id)]
    /// </summary>
    [Column("material_id")]
    public long? MaterialId { get; set; }
    /// <summary>
    /// 物料数量
    /// [wcs_warehouse_crn_material.material_count)]
    /// </summary>
    [Column("material_count")]
    public int? MaterialCount { get; set; }
    /// <summary>
    /// 创建时间
    /// [wcs_warehouse_crn_material.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wcs_warehouse_crn_material.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wcs_warehouse_crn_material.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
}
